{
  "environments": [
    {
      "BuildDir": "${workspaceFolder}\\build",
      "InstallDir": "${workspaceFolder}\\build\\install"
    },
    {
      "environment": "vcpkg",
      "VcPkgDir": "${workspaceFolder}/.deps/vcpkg/"
    },
    {
      "environment": "mingw_64",
      "MINGW64_ROOT": "D:/msys64/mingw64",
      "BIN_ROOT": "${env.MINGW64_ROOT}/bin",
      "FLAVOR": "x86_64-w64-mingw32",
      "TOOLSET_VERSION": "10.2.0",
      "PATH": "${env.MINGW64_ROOT}/bin;${env.MINGW64_ROOT}/../usr/local/bin;${env.MINGW64_ROOT}/../usr/bin;${env.MINGW64_ROOT}/../bin;${env.PATH}",
      "INCLUDE": "${env.INCLUDE};${env.MINGW64_ROOT}/include/c++/${env.TOOLSET_VERSION};${env.MINGW64_ROOT}/include/c++/${env.TOOLSET_VERSION}/tr1;${env.MINGW64_ROOT}/include/c++/${env.TOOLSET_VERSION}/${env.FLAVOR}"
    }
  ],
  "configurations": [
    {
      "name": "x86-Debug",
      "generator": "Ninja",
      "configurationType": "Debug",
      "inheritEnvironments": ["vcpkg"],
      "buildRoot": "${env.BuildDir}\\${name}",
      "installRoot": "${env.InstallDir}\\${name}",
      "addressSanitizerEnabled": false,
      "cmakeCommandArgs": "",
      "buildCommandArgs": "-v",
      "ctestCommandArgs": "",
      "variables": [
        {
          "name": "CONFIG_VM_DEBUG_INFO",
          "value": "ON",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_MEMORY_DEBUG_INFO",
          "value": "ON",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_MEMORY_CLEANUP",
          "value": "ON",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_GC",
          "value": "OFF",
          "type": "BOOL"
        },        
        {
          "name": "CODE_SANITIZER",
          "value": "OFF",
          "type": "BOOL"
        }
      ],
      "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
    },
    {
      "name": "x86-Release",
      "generator": "Ninja",
      "configurationType": "RelWithDebInfo",
      "inheritEnvironments": ["vcpkg"],
      "buildRoot": "${env.BuildDir}\\${name}",
      "installRoot": "${env.InstallDir}\\${name}",
      "cmakeCommandArgs": "",
      "buildCommandArgs": "-v",
      "ctestCommandArgs": "",
      "variables": [
        {
          "name": "CONFIG_VM_DEBUG_INFO",
          "value": "ON",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_MEMORY_DEBUG_INFO",
          "value": "ON",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_MEMORY_CLEANUP",
          "value": "OFF",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_GC",
          "value": "OFF",
          "type": "BOOL"
        },        
        {
          "name": "CODE_SANITIZER",
          "value": "OFF",
          "type": "BOOL"
        }
      ],
      "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
    },
    {
      "name": "x64-Debug",
      "generator": "Ninja",
      "configurationType": "Debug",
      "inheritEnvironments": ["vcpkg"],
      "buildRoot": "${env.BuildDir}\\${name}",
      "installRoot": "${env.InstallDir}\\${name}",
      "cmakeCommandArgs": "",
      "buildCommandArgs": "-v",
      "ctestCommandArgs": "",
      "variables": [
        {
          "name": "CONFIG_VM_DEBUG_INFO",
          "value": "ON",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_MEMORY_DEBUG_INFO",
          "value": "ON",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_MEMORY_CLEANUP",
          "value": "ON",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_GC",
          "value": "OFF",
          "type": "BOOL"
        },        
        {
          "name": "CODE_SANITIZER",
          "value": "OFF",
          "type": "BOOL"
        }
      ],
      "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
    },
    {
      "name": "x64-Release",
      "generator": "Ninja",
      "configurationType": "RelWithDebInfo",
      "inheritEnvironments": ["vcpkg"],
      "buildRoot": "${env.BuildDir}\\${name}",
      "installRoot": "${env.InstallDir}\\${name}",
      "cmakeCommandArgs": "",
      "buildCommandArgs": "-v",
      "ctestCommandArgs": "",
      "addressSanitizerEnabled": false,
      "variables": [
        {
          "name": "CONFIG_VM_DEBUG_INFO",
          "value": "ON",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_MEMORY_DEBUG_INFO",
          "value": "ON",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_MEMORY_CLEANUP",
          "value": "OFF",
          "type": "BOOL"
        },
        {
          "name": "CONFIG_GC",
          "value": "OFF",
          "type": "BOOL"
        },
        {
          "name": "CODE_SANITIZER",
          "value": "OFF",
          "type": "BOOL"
        }
      ],
      "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
    }
  ]
}
